<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="css/iconfont.css">
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            background-color: #eee;
            color: #666;
            display: flex;
            flex-direction: column;
        }

        a {
            font-size: 12px;
            color: #ccc;
            text-decoration: none;
        }

        li {
            list-style: none;
        }

        html {
            height: 100%;
        }

        .header {
            width: 100vw;
            height:10vh;
            background-color: aquamarine;
            color: #fff;
        }

        .main {
            flex: 1;
            height: 80vh;
            color: #fff;
            display: flex;
        }

        .content {
            flex: 1;
            height: 100%;
            background-color: burlywood;

            display: flex;
            justify-content: center;
            align-items: center;
        }

        .aside {
            width: 150px;
            height: 100%;
            background-color: cadetblue;

            display: flex;
            justify-content: center;
            align-items: center;
        }

        .footer {
            width: 100vw;
            height: 10vh;
            background-color: #fff;
        }

        .tabbar {
            display: flex;
            height: 100%;
        }

        .tabbar-item {
            flex: 1;
        }

        .tabbar-link {
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }

        .tabbar-link .icon {
            font-size: 24px;
        }

        .active .tabbar-link{
            color: blue;
        }
    </style>
</head>

<body>
    <header class="header">头部</header>
    <div class="main">
        <div class="aside">aside</div>
        <div class="content">content</div>
    </div>
    <footer class="footer">
        <ul class="tabbar">
            <li class="tabbar-item active">
                <a href="#" class="tabbar-link">
                    <i class="icon icon-home"></i>
                    <span>首页</span>
                </a>
            </li>
            <li class="tabbar-item">
                <a href="#" class="tabbar-link">
                    <i class="icon icon-category"></i>
                    <span>分类</span>
                </a>
            </li>
            <li class="tabbar-item">
                <a href="#" class="tabbar-link">
                    <i class="icon icon-cart"></i>
                    <span>购物车</span>
                </a>
            </li>
            <li class="tabbar-item">
                <a href="#" class="tabbar-link">
                    <i class="icon icon-personal"></i>
                    <span>个人中心</span>
                </a>
            </li>
        </ul>
    </footer>
</body>

</html>